Code_book for alliance_replication.dta

state: state id

year: year

abbrev: state abreviation

region1: region state is in 

violate: indicator for whether the state violated an alliance 

regyrvio_avg: pct of states in the same region that violated an alliance ( out of all states in an alliance in that region)

alliance_gain: indicator for whether the state gained an alliance in a given year

cum_vio_dum: running tally of the number of violations incurred by state, this is referred to as "Violation history" in the main text.

reputation_vio_dum: The reputation score a state incurs for a violation in a given yar 

rep_dum_mem_indef: Our measure of reputation described in the main text

majpow: indicator whether the country is a major power

democ: polity 4 democracy score

autoc: polity 4 autocracy score

democ_dum: indicator for whether the country is a democracy.

_Iregion1_#: indicator variables for each region. Used to fit region fixed effects in the regressions. Region 1 is Europe, 2 Mideast, 3 Africa, 4 Asia,5 Americas

lag_num: lagged number of alliances that a state is in
lag_numsq: square of lag_num

t: number of years since a state last gained an alliance
t2: t^2
t3: t^3

decay_gen: number of years since a state violated an alliance
decay_gensq: decay_gen^2
decay_gen3: decay_gen^3

chTEAltorBmt: Measure of change in external that constructed by Leeds, Mattes and Vogel (2009), which codes a 1 if a state experiences a 30% decrease or decrease in threat.
